import './assets/normalize.css'
import './assets/main.css'

import {
    createApp
} from 'vue'
import pinia from './stores'

import App from './App.vue'
import router from './router'

// import myMessageBox from './components/my-message-box'
// import MyBreadcrumb from './components/my-components'
import myComponents from './components/my-components'
import myFunction from './components/my-function'

const app = createApp(App)

app.use(pinia)
app.use(router)

// //全局属性绑定消息框功能方法
// app.config.globalProperties.$myMessageBox = myMessageBox;

// //全局属性绑定返回方法
// app.config.globalProperties.$goBack = function () {
//     this.$router.go(-1);
// }

// app.user(MyBreadcrumb);
app.use(myComponents);
app.use(myFunction);

app.mount('#app')